package com.supcon.tea.work.questionnaire.domain.dto;

import com.supcon.tea.work.questionnaire.domain.Answer;
import com.supcon.tea.work.questionnaire.domain.Question;
import com.supcon.tea.work.questionnaire.domain.vo.AnswerVO;

import java.util.List;

/**
 * Created by zhengjian1 on 2017/7/24.
 */
public class QuestionnaireDTO {
    private Integer id;
    private String questionnaireName;
    private Integer questionnaireType;
    private Integer nums;
    private List<Question> questions;
    private List<AnswerVO> answers;

    public Integer getId() {
        return id;
    }

    public String getQuestionnaireName() {
        return questionnaireName;
    }

    public Integer getQuestionnaireType() {
        return questionnaireType;
    }

    public List<Question> getQuestions() {
        return questions;
    }

    public Integer getNums() {
        return nums;
    }

    public List<AnswerVO> getAnswers() {
        return answers;
    }

    public void setQuestionnaireName(String questionnaireName) {
        this.questionnaireName = questionnaireName;
    }

    public void setQuestionnaireType(Integer questionnaireType) {
        this.questionnaireType = questionnaireType;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setQuestions(List<Question> questions) {
        this.questions = questions;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public void setAnswers(List<AnswerVO> answers) {
        this.answers = answers;
    }

    @Override
    public String toString() {
        return "QuestionnaireDTO{" +
                "id=" + id +
                ", questionnaireName='" + questionnaireName + '\'' +
                ", questionnaireType=" + questionnaireType +
                ", nums=" + nums +
                ", questions=" + questions +
                ", answers=" + answers +
                '}';
    }
}
